package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsAdmin;

import java.util.List;

public interface DtsAdminService {
    DtsAdmin findByUsername(String username);

    IPage<DtsAdmin> queryPage(Integer page, Integer limit, String sort, String order, String username);

    DtsAdmin update(DtsAdmin admin);

    DtsAdmin add(DtsAdmin admin);

    void deleteById(Integer anotherAdminId);

    List<DtsAdmin> find();
}
